package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel("货代")
public class Forwarder {
    int id;
    @NotBlank(message = "货代名称不能为空")
    @ApiModelProperty("货代公司名称")
    String name;

    @ApiModelProperty("货代联系人")
    String contacts;

    @ApiModelProperty("货代联系电话")
    String phone;

    @ApiModelProperty("邮箱")
    String email;

    @ApiModelProperty("运输方式")
    String transport;

    @ApiModelProperty("擅长航线")
    String airline;
    String account;
    String password;

}
